using GameFramework.Battle.Core;
using UnityEngine;
using Random = UnityEngine.Random;

namespace Yoozoo.Gameplay.RTS
{
    public class AttackStateSubAction : ISubAction
    {
        public AttackActionInfo actionInfo { get; set; }

        public void Init(AttackActionInfo info)
        {
            actionInfo = info;
        }

//        public bool Execute(ChildUnit unit, AttackStateAction attackStateAction)
//        {
//            
//            //unit.Play(EAnimationType.ani_Stand_Shoot_Process,true);
//            unit.Play(actionInfo.animType,true);
//            unit.CheckThrowable();
//            return true;
//        }
//
//        public void Update(ChildUnit unit, AttackStateAction attackStateAction)
//        {
//            
//        }
//
//        public void Exit(ChildUnit unit, AttackStateAction attackStateAction)
//        {
//        }
    }
}